/*
*所有关于InspectionSheet类的业务代码接口应在此处编写
*/
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
using VOL.Core.Utilities;
using System.Linq.Expressions;
using System.Threading.Tasks;
using VOL.Domain.Dto.QualityManagement;

namespace VOL.Domain.IServices
{
    public partial interface IInspectionSheetService
    {
        /// <summary>
        /// 获取检验单分页列表数据
        /// </summary>
        /// <param name="queryDTO">查询条件</param>
        /// <returns>返回检验单列表数据</returns>
        Task<WebResponseContent> GetInspectionSheetPageData(InspectionSheetQueryDTO queryDTO);

        /// <summary>
        /// 新增检验单
        /// </summary>
        /// <param name="inspectionSheet">检验单实体</param>
        /// <returns>返回新增结果</returns>
        Task<WebResponseContent> AddInspectionSheet(InspectionSheet inspectionSheet);

        /// <summary>
        /// 修改检验单
        /// </summary>
        /// <param name="inspectionSheet">检验单实体</param>
        /// <returns>返回修改结果</returns>
        Task<WebResponseContent> UpdateInspectionSheet(InspectionSheet inspectionSheet);

        /// <summary>
        /// 批量删除检验单
        /// </summary>
        /// <param name="ids">检验单ID集合</param>
        /// <returns>返回删除结果</returns>
        Task<WebResponseContent> DeleteInspectionSheet(int[] ids);
    }
}
